@extends('layouts.ajax_master')
@section('app_js')
    <script type="text/javascript" src="/resource/js/J_main.js"></script>
    <script type="text/javascript">
        $('#teamTable').dataTable().fnDestroy();
        initDataTables();
    </script>
@stop
@section('content')
<table id="example" class="table table-striped responsive-utilities jambo_table">
    <thead>
    <tr class="headings">
        <th>
            <input type="checkbox" class="tableflat">
        </th>
        <th>ID</th>
        <th>姓名</th>
        <th width="20%">头像</th>
        <th width="10%">手机号</th>
        <th width="225px">注册时间</th>
        <th width="180px">上次登录</th>
        <th width="180px">登陆次数</th>
        <th class=" no-link last"><span class="nobr" width="75px">操作</span>
        </th>
    </tr>
    </thead>

    <tbody>
    @foreach($info as $k => $inf)
        <tr class="even pointer img-box">
            <td class="a-center ">
                <input type="checkbox" class="tableflat">
            </td>

            <td class=" ">{{$inf->user_id}}</td>
            <td class=" ">{{$inf->user_name}}</td>
            <td class=" "><img src="{{$inf->avatar}}"></td>
            <td class=" ">{{$inf->mobile}}</td>
            <td class=" ">{{date('Y-m-d H:i:s'),$inf->created}}</td>
            <td class="tr-time">{{$inf->last_login_time}}<br/>{{$inf->last_login_ip}}</td>
            <td class=" ">{{$inf->login_num}}</td>
            <td class=" last">
                <a href="/customer_edit?user_id={{$inf->user_id}}">编辑</a>
                <a href="javascript:;" class="delete"  data-user_id="{{$inf->user_id}}">删除</a>
            </td>
        </tr>
    @endforeach
    {{--<tr class="odd pointer img-box">--}}
    {{--<td class="a-center ">--}}
    {{--<input type="checkbox" class="tableflat">--}}
    {{--</td>--}}
    {{--<td class="tr-time">--}}
    {{--<img src="http://shop.mutouw.com/data/upload/shop/common/default_user_portrait.gif?0.85937500 1449029871" alt="">--}}
    {{--<span>hongyuting001(真实姓名：)<br/>注册时间：2015-11-27 14:48:42</span>--}}
    {{--</td>--}}
    {{--<td class=" ">1</td>--}}
    {{--<td class="tr-time">2015-11-27 14:48:42<br/>106.2.166.49</td>--}}
    {{--<td class=" ">20</td>--}}
    {{--<td class=" ">北京</td>--}}
    {{--<td class=" ">0</td>--}}
    {{--<td class=" ">v0</td>--}}
    {{--<td class=" ">允许</td>--}}
    {{--<td class=" last">--}}
    {{--<a href="#">编辑</a>--}}
    {{--<a href="#">通知</a>--}}
    {{--</td>--}}
    {{--</tr>--}}
    </tbody>

</table>
@stop